package com.yz.mcd.view;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.yz.mcd.R;

/**
 * Created by 辉 on 2017/4/12.
 */

public class Ac_welcome2 extends AppCompatActivity {
    @Override
    protected void onCreate( Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layout_welcome2);
        Button to_main = (Button)findViewById(R.id.to_Main);
        to_main.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(Ac_welcome2.this,Ac_login.class);
                startActivity(intent);
                finish();
            }
        });
    }
}
